package com.xx.pmis.services;

import java.util.List;

import com.xx.pmis.model.Subject;

public interface SubjectService {
	public void saveOrUpdateSubject(Subject subject) throws Exception;
	public void saveSubject(Subject subject) throws Exception;
	public void deleteSubject(Subject subject) throws Exception;
	// 根据科目ID查询该科目
	public Subject getSubjectBySubjectID(String subjectID) throws Exception;
	// 查询所有科目
	public List<Subject> getAllSubjectByCondition(String hql) throws Exception;
	// 科目数
	public int getCountOfSubject(String hql) throws Exception;


}
